package com.lc.luzhengtang.conn;

import android.util.Log;

import com.google.gson.Gson;
import com.lc.luzhengtang.bean.CommentGetBean;
import com.zcx.helper.http.AsyCallBack;
import com.zcx.helper.http.note.HttpInlet;

import org.json.JSONObject;

/**
 * Created by Administrator on 2017/4/17.
 */
@HttpInlet(Conn.EVALUTE_COMMENT)
public class ConnEvalute extends BaseAsyPost<CommentGetBean> {

    public String ordersn;



  public ConnEvalute(String ordersn,AsyCallBack<CommentGetBean> asyCallBack) {
         super(asyCallBack);
         this.ordersn = ordersn;

     }

    @Override
    protected CommentGetBean parser(JSONObject object) throws Exception {
        Log.d(object.toString(), "aaaaaaaaaaaaaaaaa");
        Log.d(object.toString(), "aaaaaaaaaaaaaaaaa");


        Gson gson = new Gson();

        CommentGetBean loginBean = new CommentGetBean();

        loginBean = gson.fromJson(object.toString(), CommentGetBean.class);


        return loginBean;


    }
}



